﻿namespace WMS6.Web.AnalyticsReportServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="OwnerTransferRptQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class OwnerTransferRptQueryEntity : BaseQuery
    {
        [OptionalField]
        private string FromDescrField;
        [OptionalField]
        private string FromOwnerIDField;
        [OptionalField]
        private string FromSkuIDField;
        [OptionalField]
        private string ToDescrField;
        [OptionalField]
        private string ToOwnerIDField;
        [OptionalField]
        private string ToSkuIDField;
        [OptionalField]
        private string TransferDateField;
        [OptionalField]
        private string TransferIDField;

        [DataMember]
        public string FromDescr
        {
            get
            {
                return this.FromDescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromDescrField, value))
                {
                    this.FromDescrField = value;
                    base.RaisePropertyChanged("FromDescr");
                }
            }
        }

        [DataMember]
        public string FromOwnerID
        {
            get
            {
                return this.FromOwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromOwnerIDField, value))
                {
                    this.FromOwnerIDField = value;
                    base.RaisePropertyChanged("FromOwnerID");
                }
            }
        }

        [DataMember]
        public string FromSkuID
        {
            get
            {
                return this.FromSkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromSkuIDField, value))
                {
                    this.FromSkuIDField = value;
                    base.RaisePropertyChanged("FromSkuID");
                }
            }
        }

        [DataMember]
        public string ToDescr
        {
            get
            {
                return this.ToDescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToDescrField, value))
                {
                    this.ToDescrField = value;
                    base.RaisePropertyChanged("ToDescr");
                }
            }
        }

        [DataMember]
        public string ToOwnerID
        {
            get
            {
                return this.ToOwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToOwnerIDField, value))
                {
                    this.ToOwnerIDField = value;
                    base.RaisePropertyChanged("ToOwnerID");
                }
            }
        }

        [DataMember]
        public string ToSkuID
        {
            get
            {
                return this.ToSkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToSkuIDField, value))
                {
                    this.ToSkuIDField = value;
                    base.RaisePropertyChanged("ToSkuID");
                }
            }
        }

        [DataMember]
        public string TransferDate
        {
            get
            {
                return this.TransferDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TransferDateField, value))
                {
                    this.TransferDateField = value;
                    base.RaisePropertyChanged("TransferDate");
                }
            }
        }

        [DataMember]
        public string TransferID
        {
            get
            {
                return this.TransferIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TransferIDField, value))
                {
                    this.TransferIDField = value;
                    base.RaisePropertyChanged("TransferID");
                }
            }
        }
    }
}

